﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="BookList.aspx.cs" Inherits="Stock_BookList" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title>正贸智能仓储物流管理系统</title>
    <link href="../css/css.css" rel="stylesheet" type="text/css" />
    <base target="_self" />
    <style type="text/css">
        .auto-style1 {
            width: 150px;
            height: 14px;
            left: 1px;
            top: 0px;
        }

        .find td {
            border-bottom: 1px solid #b5d6e6;
            border-right: 1px solid #b5d6e6;
            border-left: 1px solid #b5d6e6;
        }
    </style>
</head>
<body>
    <form id="form1" runat="server">
        <div>
            <table width="800" border="0" cellspacing="0" cellpadding="0">
                <tr>
                    <td style="height: 30px">
                        <table width="100%" border="0" cellspacing="0" cellpadding="0">
                            <tr>
                                <td style="background-image: url(../images/tab_03.gif); background-repeat: repeat-x; width: 12px;">&nbsp;
                                </td>
                                <td style="background-image: url(../images/tab_05.gif); background-repeat: repeat-x; height: 30px;">
                                    <table width="100%" border="0" cellspacing="0" cellpadding="0">
                                        <tr>
                                            <td style="width: 46%; vertical-align: middle;">
                                                <table width="100%" border="0" cellspacing="0" cellpadding="0">
                                                    <tr>
                                                        <td style="width: 5%; vertical-align: middle;">
                                                            <img src="../images/tb.gif" width="16" height="16" />
                                                        </td>
                                                        <td style="width: 95%;">
                                                            <span>你当前的位置</span>：物料选择
                                                        </td>
                                                    </tr>
                                                </table>
                                            </td>
                                            <td width="54%"></td>
                                        </tr>
                                    </table>
                                </td>
                                <td width="16" style="background-image: url(../images/tab_07.gif); height: 30px;">&nbsp;
                                </td>
                            </tr>
                        </table>
                    </td>
                </tr>
                <tr>
                    <td>
                        <table width="100%" border="0" cellspacing="0" cellpadding="0" style="border: 1px solid #b5d6e6;">
                            <tr>
                                <td style="background-image: url(../images/tab_12.gif); width: 8px;">&nbsp;
                                </td>
                                <td>
                                    <table width="100%" cellspacing="0" cellpadding="0" class="find">
                                        <tr style="height: 20px;">
                                            <td align="right" width="15%">物料名称：
                                            </td>
                                            <td style="width: 40%">
                                                <asp:TextBox ID="txtMat_Name" runat="server" Style="border: solid 1px #b5d6e6; font-size: 9pt;"
                                                    Height="16px" Width="120px"></asp:TextBox>

                                            </td>
                                            <td align="right" width="15%">规格：
                                            </td>
                                            <td style="width: 40%">
                                                <asp:TextBox ID="txtS01" runat="server" Style="border: solid 1px #b5d6e6; font-size: 9pt;"
                                                    Height="16px" Width="120px"></asp:TextBox>
                                            </td>
                                            <td align="center">
                                                <asp:ImageButton ID="ibtnSearch" runat="server" ImageUrl="~/Images/btn/btn_Search.gif"
                                                    OnClick="ibtnSearch_Click" Style="height: 20px" />
                                            </td>
                                        </tr>
                                        <tr>
                                            <td colspan="9">
                                                <asp:GridView ID="gv" runat="server" AutoGenerateColumns="False" Width="100%" OnRowDataBound="gv_RowDataBound"
                                                    AllowPaging="True" PageSize="8" OnPageIndexChanging="gv_PageIndexChanging">
                                                    <Columns>
                                                        <asp:TemplateField HeaderText="编号">
                                                            <ItemStyle HorizontalAlign="Center" />
                                                            <ItemTemplate>
                                                                <asp:Label ID="LabNumber" runat="server" Text="<%#Container.DataItemIndex+1%>"></asp:Label>
                                                            </ItemTemplate>
                                                            <ItemStyle Width="5%" />
                                                        </asp:TemplateField>
                                                        <asp:BoundField DataField="Mat_Name" HeaderText="物料名称">
                                                            <ItemStyle Width="20%" HorizontalAlign="Center" ForeColor="#3366ff" />
                                                        </asp:BoundField>

                                                        <asp:TemplateField HeaderText="物料编码">
                                                            <ItemTemplate>
                                                                <asp:Label ID="LabMat_Code" runat="server" Text='<%# Bind("Mat_Code") %>'></asp:Label>
                                                            </ItemTemplate>
                                                            <ItemStyle Width="15%" />
                                                        </asp:TemplateField>
                                                        <asp:BoundField DataField="S01" HeaderText="规格">
                                                            <ItemStyle Width="15%" HorizontalAlign="center" />
                                                        </asp:BoundField>
                                                        <asp:BoundField DataField="TM01" HeaderText="材质">
                                                            <ItemStyle Width="12%" HorizontalAlign="center" />
                                                        </asp:BoundField>
                                                        <asp:BoundField DataField="TM03" HeaderText="长度">
                                                            <ItemStyle Width="10%" HorizontalAlign="center" />
                                                        </asp:BoundField>
                                                            <asp:BoundField DataField="S02" HeaderText="备注">
                                                            <ItemStyle Width="14%" HorizontalAlign="center" />
                                                        </asp:BoundField>
                                                        <asp:BoundField DataField="Unit_Base" HeaderText="单位">
                                                            <ItemStyle Width="6%" HorizontalAlign="center" />
                                                        </asp:BoundField>
                                                    </Columns>
                                                    <FooterStyle BackColor="#63B2FF" Font-Bold="True" ForeColor="White" />
                                                    <RowStyle BackColor="#EFF3FB" Font-Size="12px" HorizontalAlign="Center" />
                                                    <EditRowStyle BackColor="#2461BF" Font-Size="12px" />
                                                    <SelectedRowStyle BackColor="#D1DDF1" Font-Bold="True" ForeColor="#333333" />
                                                    <PagerStyle BackColor="#63B2FF" ForeColor="White" HorizontalAlign="Center" />
                                                    <HeaderStyle BackColor="#63B2FF" Font-Bold="True" ForeColor="White" Font-Size="12px"
                                                        HorizontalAlign="Center" />
                                                    <AlternatingRowStyle BackColor="White" />
                                                    <PagerSettings Mode="Numeric"></PagerSettings>
                                                </asp:GridView>
                                            </td>
                                        </tr>
                                    </table>
                                </td>
                                <td style="background-image: url(../images/tab_15.gif); width: 8px;">&nbsp;
                                </td>
                            </tr>
                        </table>
                    </td>
                </tr>
                <tr>
                    <td style="background-image: url(../images/tab_19.gif); height: 35px;">
                        <table width="100%" border="0" cellspacing="0" cellpadding="0">
                            <tr>
                                <td style="width: 12px; height: 35px;">
                                    <img src="../images/tab_18.gif" width="12" height="35" />
                                </td>
                                <td>&nbsp;
                                </td>
                                <td width="16">
                                    <img src="../images/tab_20.gif" width="16" height="35" />
                                </td>
                            </tr>
                        </table>
                    </td>
                </tr>
            </table>
        </div>
    </form>
</body>
</html>

